//
//  ViewController.m
//  HDTransitonDemo
//
//  Created by mac on 2017/5/18.
//  Copyright © 2017年 mac. All rights reserved.
//

#import "ViewController.h"
#import "MyDemoTransitionTableVC.h"
#import "LDTransitableTableVC.h"
#import "CoreAnimationTableVC.h"
@interface ViewController ()<UINavigationControllerDelegate>
@property (nonatomic,strong)UITableView *tableView;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    self.title = @"转场动画";
//     self.navigationController.delegate = self;
}

- (IBAction)pushAction:(id)sender {
    LDTransitableTableVC *tableVC = [[LDTransitableTableVC alloc]init];
    [self.navigationController pushViewController:tableVC animated:YES];
}
- (IBAction)pushAction2:(id)sender {
    MyDemoTransitionTableVC *secVC = [[MyDemoTransitionTableVC alloc]init];    
    [self.navigationController pushViewController:secVC animated:YES];

}

- (IBAction)showCoreAnimation:(UIButton *)sender {
    CoreAnimationTableVC *vc = [[CoreAnimationTableVC alloc]init];
    [self.navigationController pushViewController:vc animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
